package com.gs.synedocket.view;

import com.gs.synedocket.apiresult.ApiResultData;
import com.gs.synedocket.apiresult.PagedList;
import com.gs.synedocket.db.dto.DocketDto;
import com.gs.synedocket.db.dto.DocketSummaryDto;
import com.gs.synedocket.db.dto.ShortDto;

import java.util.List;

public interface IDocketLogView extends IView {
    void onGetDataSuccess(ApiResultData<PagedList<DocketDto>> apiResultData);

    void onGetDataFail(Exception e);

    void onGetSummarySuccess(ApiResultData<DocketSummaryDto> apiResultData);

    void onGetSummaryFail(Exception e);

    void onGetComListSuccess(ApiResultData<List<ShortDto>> result);

    void onGetComListFails(Exception msg);
}
